
export type GenTable = {
	id?:Common.IdType,
	author?:string,
	prePackage?:string,
	//表名
	name?:string,
	moduleName?:string,
	className?:string,
	comment?:string,
	dbType?:string,
	createTime?:string,
	extra?:Record<string,string>
	columns?:GenTableColumn[],
	groupId?:Common.IdType,
}

export type GenTableColumn = {
	id?:Common.IdType,
	//列名
	name?:string,
	fieldName?:string,
	//原始类型（数据库中的属性）
	sourceType?:string,
	javaType?:string,
	formType?:string,
	queryType?:string,
	isRequired?:Common.BusinessStatus,
	isInsert?:Common.BusinessStatus,
	isEdit?:Common.BusinessStatus,
	isQuery?:Common.BusinessStatus,
	isList?:Common.BusinessStatus,
	isPk?:Common.BusinessStatus,
	sort?:number,
	comment?:string,
	extra?:Record<string,string>,
	tableId?:Common.IdType,
	createTime?:string,
}

